<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>页面B</title>
		
	</head>
	<body>
		<a href="C.html">跳转到C页面</a>
		<button onclick="doBack()">后退</button>
		<button onclick="doForward()">前进</button>
		<button onclick="reloadNowPage()"> 刷新</button>
	</body>
	<script type="text/javascript">
		function doBack(){
			history.back();
		}
			
		function doForward(){
			history.forward();
		}
		function reloadNowPage(){
			location.reload()
			}
	</script>
</html>
